package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Address;

import java.util.List;

/**
 * 李骏
 */
public interface AddressService {
    PageResult pageQuery(QueryPageBean queryPageBean);

    void add(Address address);

    void deleteById(Integer id);

    Address findById(Integer id);

    void edit(Address address);

    List<Address> findAll();

}
